package com.dao;

import java.util.List;

import com.bean.CraftType;

public interface CraftTypeDao {

	public abstract void save(CraftType transientInstance);

	public abstract void delete(CraftType persistentInstance);

	public abstract CraftType findById(java.lang.Integer id);

	public abstract List findByExample(CraftType instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByTypeName(Object typeName);

	public abstract List findAll();

	public abstract CraftType merge(CraftType detachedInstance);

	public abstract void attachDirty(CraftType instance);

	public abstract void attachClean(CraftType instance);

}